<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>title</title>
    <script src="../js/jquery-3.3.1.min.js"></script>
    <style>
        ul{list-style: none;overflow: hidden;}
        ul>li{
            float:left;
            width:200px;
            height:100px;
            line-height: 100px;
            text-align: center;
            border:1px solid gray;
        }
        .on{background:red;color:white;}
    </style>
</head>
<body>
     <ul>
         <li class="on">首页</li>
         <li>新闻中心</li>
         <li>新闻列表</li>
         <li>企业动态</li>
         <li>联系我们</li>
     </ul>

<script src="../js/index.js"></script>
</body>


</html>